//
//  ServiceRemindTableViewCell.m
//  CPICMobileServiceApp
//
//  Created by sinosoft on 13-2-28.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import "ServiceRemindTableViewCell.h"

@implementation ServiceRemindTableViewCell
@synthesize lblName,btnInfo,swcON;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        lblName=[[[UILabel alloc]initWithFrame:CGRectMake(15, 8, 150, 27)]autorelease];
        btnInfo=[[[UIButton alloc]initWithFrame:CGRectMake(165, 10, 49/2, 53/2)]autorelease];
        swcON=[[[UISwitch alloc]initWithFrame:CGRectMake(217, 8, 79, 27)]autorelease];
        lblName.backgroundColor=[UIColor clearColor];
        swcON.backgroundColor=[UIColor clearColor];
        
        [self.contentView addSubview:btnInfo];
        [self.contentView addSubview:lblName];
        [self.contentView addSubview:swcON];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
